
<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">
<form rel="pagerForm"  class="required-validate" method="post" action="" onsubmit="return navTabSearch(this)">
<input type="hidden" id="advancedStatus" name="advancedStatus" value="${condition.advancedStatus!''}" />
	<div class="pageHeader">
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label><@label key="LocaleResourceSet.C,colon">本地化资源集：</@label></label>
					<input type="text" name="resourceSet" value="${condition.resourceSet!''}"/>
				</li>
				<li>
					<label><@label key="localeresourcekey.C,colon">本地化资源键：</@label></label> 
					<input type="text" name="resourceKey" value="${condition.resourceKey!''}"/>
				</li>
				<li>
					<label><@label key="localeresourcevalue.C,colon">本地化资源值：</@label></label>
					<input type="text" name="resourceValue" value="${condition.resourceValue!''}"/>
				</li>
				<li class="query">
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit"><@label key="query.B">查询</@label></button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</div>
</form>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<@buttonRight menuCode="LOCALERESOURCE_ADD" labelKey="add.B" defalutName="新增">
			<li><a class="add"  mask="true" width="350" height="180" href="${rc.getContextPath()}/manage/localeresource/localeresource_add?navTabId=${navTabId!''}" target="dialog" title="<@label key='add.B'>新增</@label>"><span><@label key='add.B'>新增</@label></span></a></li>
			</@buttonRight>
			<@buttonRight menuCode="LOCALERESOURCE_MODIFY" labelKey="edit.B" defalutName="修改">
			<li><a class="edit" mask="true" width="350" height="180" href="${rc.getContextPath()}/manage/localeresource/localeresource_modify?setkey={LocaleResourceInfo_resourcekey}&navTabId=${navTabId!''}" target="dialog" title="<@label key='edit.B'>修改</@label>"><span><@label key='edit.B'>修改</@label></span></a></li>
			</@buttonRight>
			<@buttonRight menuCode="LOCALERESOURCE_VIEW" labelKey="view.B" defalutName="详情">
			<li><a class="edit" mask="true" width="350" height="180" href="${rc.getContextPath()}/manage/localeresource/localeresource_view?setkey={LocaleResourceInfo_resourcekey}&navTabId=${navTabId!''}" target="dialog" title="<@label key='view.B'>详情</@label>"><span><@label key="view.B">详情</@label></span></a></li>
			</@buttonRight>

			<@buttonRight menuCode="LOCALERESOURCE_DELETE" labelKey="delete.B" defalutName="删除">
            <li><a class="delete" target="selectedTodo" href="${rc.getContextPath()}/manage/localeresource/localeresource_delete?navTabId=${navTabId!''}"
            	postType="string" rel="resourceKeys" callback="batchjobAjaxDone"
                title="<@label key='delLocaleResource.M'>确认要删除选择的本地化资源吗？</@label>"><span><@label key="delete.B">删除</@label></span>
                </a>
            </li>
            </@buttonRight>
            <li><a class="edit" target="ajaxTodo" href="${rc.getContextPath()}/manage/localeresource/flushLocalResourceCache?navTabId=${navTabId!''}" title="<@label key='flushCache.C'>刷新缓存</@label>"><span><@label key="flushCache.C">刷新缓存</@label></span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="130">
        <thead>
            <tr>
                <th width="18"><input type="checkbox" group="resourceKeys" class="checkboxCtrl">
                </th>
                <th width="18"><@label key="serialNumber.C">序号</@label></th>
                <th width="40" orderField="resourcekey"<#if (page.orderField?? && page.orderField == 'resourceSet')>class="${page.orderDirection!''}"</#if>><@label key="LocaleResourceSet.C">本地化资源集</@label></th>
                <th width="40" orderField="resourcekey"<#if (page.orderField?? && page.orderField == 'resourcekey')>class="${page.orderDirection!''}"</#if>><@label key="localeresourcekey.C">本地化资源键</@label></th>
                <th width="60" orderField="resourcevalue"<#if (page.orderField?? && page.orderField == 'resourcevalue')>class="${page.orderDirection!''}"</#if>><@label key="localeresourcevalue.C">本地化资源值</@label></th>
            </tr>
        </thead>
		<tbody>
		<#if page??><#if (page.data?size>0)> <#list page.data as LocaleResourceInfo>
			<tr target="LocaleResourceInfo_resourcekey" rel="${LocaleResourceInfo.resourceKey!''}@_@${LocaleResourceInfo.resourceSet!''}">
				<td><input name="resourceKeys" value="${LocaleResourceInfo.resourceKey!''}@_@${LocaleResourceInfo.resourceSet!''}" type="checkbox"></td>
				<td>${page.startRow + LocaleResourceInfo_index}</td>
				<td>${LocaleResourceInfo.resourceSet!''}
				<td>${LocaleResourceInfo.resourceKey!''}</td>
				<td>${LocaleResourceInfo.resourceValue!''}</td>
			</tr>
		</#list>
		<#else>
		<tr target="LocaleResourceInfo_resourcekey">
			<td colspan="14" class="noData">======<@label key='noListData.C'>列表无数据</@label>=====</font></td>
		</tr>
		</#if>
		<#else>
		<tr target="LocaleResourceInfo_resourcekey">
			<td colspan="14" class="noData">======<@label key='noListData.C'>列表无数据</@label>=====</font></td>
		</tr>
		</#if>
		</tbody>
	</table>
	<#include "/common/panelBar.html">
</div>